<template>
<p>当你再次点击相同的值时，可以将值重置为 <code>0</code>。</p>
  <el-rate v-model="value" clearable />
</template>

<script lang="ts" setup>
import { ref } from 'vue'

const value = ref(3)
</script>

<style scoped>
@import '../../assets/elementPlusDemo.css'
</style>